"use strict";
require.config({
    "baseUrl": "./",
    "map": {
        "*": {
            "jquery": "lib/jquery-1.11.1.min",
            "angular": "lib/angular.min",
            "ui-router": "lib/angular-ui-router",
            "amazeui": "amazeui/amazeui.min",
            "router": "framework/routerConfig",
            "bootstrap":"lib/bootstrap-3.3.6-dist/js/bootstrap",
        }
    },
    "paths": {
        "amazeui": "lib/assets/js",
        "bootstrap":"lib/bootstrap-3.3.6-dist/js",
    },
    "shim": {
        "lib/jquery-1.11.1.min": {
            "exports": "$"
        },
        "amazeui/amazeui.min": {
            "deps": ["lib/jquery-1.11.1.min"],
            "exports": "amazeui"
        },
        "lib/bootstrap-3.3.6-dist/js/bootstrap":{
            "deps":["lib/jquery-1.11.1.min"]
        },
        "lib/angular.min": {
            "deps": ["lib/jquery-1.11.1.min"],
            "exports": "angular"
        },
        "lib/angular-ui-router": {
            "deps": ["lib/angular.min"]
        },
        "router": {
            "deps":["lib/angular-ui-router"]
        }
    },
    waitSeconds:0,
    priority: [
        "angular"
    ]
});

require(['lib/jquery-1.11.1.min', 'lib/angular.min', 'framework/framework'], function ($, angular,app) {
    var injector = angular.bootstrap($("html"), [app.name]);
});